package com.diver.flinkdemo.entity.xxt.yzhy;

/**
 * Created with IntelliJ IDEA.
 *
 * @Description: 翼智慧云平台返回码
 * @Author: zhangB
 * @Date: 2021/11/10 10:00
 */
public enum StatusCode {
    SUCCESS(1,"操作成功", 0),
    LOGIN_TIME_OUT(0,"登陆超时", 0),
    SYSTEM_ERROR(0,"系统错误", 0),
    REQUEST_ERROR(0,"参数错误", 0);


    private Integer code;

    private String message;

    private int count;

    // 构造方法
    StatusCode(Integer code, String message, int count) {
        this.code = code;
        this.message = message;
        this.count = count;
    }
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
